package com.nageoffer.shortlink.admin.service;

import com.nageoffer.shortlink.admin.dto.req.ShortLinkGroupSortReqDTO;
import com.nageoffer.shortlink.admin.dto.req.ShortLinkGroupUpdateReqDTO;
import com.nageoffer.shortlink.admin.dto.resp.ShortLinkGroupSaveRespDTO;

import java.util.List;

public interface GroupService {
    /***
     * 新增短链接分组
     * @param groupName
     */
    void saveGroup(String groupName);
    void saveGroup(String groupName, String username);
    List<ShortLinkGroupSaveRespDTO> listGroup();

    void updateGroup(ShortLinkGroupUpdateReqDTO requestParam);

    void deleteGroup(String gid);

    void sortGroup(List<ShortLinkGroupSortReqDTO> requestParam);
}
